#include "stdio.h"
#include "unistd.h"

int main(){
    while (1){
        int pid = fork();
        printf("%d\n", pid);
    }
}